package cc.iotkit.plugins.modbus.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Modbus配置
 *
 * @author Yongming
 */
@Data
@Component
@ConfigurationProperties(prefix = "modbus")
public class ModbusConfig {
    private String host;

    private int port;

    private String productKey;

    private String deviceName;
}

